package com.morizhang.usersys;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.boot.SpringApplication;

public class ServletInitializer extends SpringBootServletInitializer{
    public SpringApplicationBuilder configure(SpringApplicationBuilder application){
        return application.sources(ServletInitializer.class);
    }

    public static void main(String[] args) {
        SpringApplication.run(ServletInitializer.class, args);
    }
}
